cf7d9016231a89a914a239c70169f2ad13769889,web/support/src/main/java/org/yes/cart/web/service/ws/impl/BackdoorServiceImpl.java,BackdoorServiceImpl,reindexShopProducts,#number#,132
Before Change
*/
public int reindexShopProducts(final long shopPk) {
final int count;
if (isLuceneIndexDisabled()) {
count = -1; // signifies job's done
} else {
count = productService.reindexProducts(shopPk);
}
if (count == -1) {
flushCache();
}
return count;
}
/**
After Change
* {@inheritDoc}
*/
public void reindexShopProducts(final long shopPk) {
if (!isLuceneIndexDisabled()) {
productService.reindexProducts(shopPk, getProductIndexBatchSize());
}
}